package com.srit.forecast.constant;

/**
 * 常量
 * 
 * @author guan
 * 
 */
public class Constant {
	/* ########Entity属性值########## */
	public static final String NOT_DELETED = "N";
	public static final String DELETED = "Y";
	public static final String NOT_ENABLED = "N";
	public static final String ENABLED = "Y";
	public static final int DEFAULT_PAGESIZE = 10;
	public static final String PUB = "Y";
	public static final String NOT_PUB = "N";

	/* #######页面类型######## */
	public static final String PAGE_TYPE = "pageType";
	public static final String PAGE_TYPE_FORM = "form";
	public static final String PAGE_TYPE_LIST = "list";
	public static final String PAGE_TYPE_SEARCH = "search";
	public static final String PAGE_TYPE_ALL = "all";

	/* ####上传路径#### */
	public static final String UPLOAD_PATH = "upload";

	/* ####预报Grid属性#### */
	public static final String GRID_FORM = "form";
	public static final String GRID_LIST_H = "horizontal list";// 横向
	public static final String GRID_LIST_V = "vertical list";// 纵向

	public static final String GRID_SUBJECT_ONE = "one";
	public static final String GRID_SUBJECT_MANY = "many";

	/* ####预报字段属性#### */
	public static final String GRID_ATTR_SELECT = "select";
	public static final String GRID_ATTR_TEXTAREA = "textarea";
	public static final String GRID_ATTR_RADIO = "radio";
	public static final String GRID_ATTR_TEXT = "text";

	public static final String SQL_ORDER_BY_ID = " order by ID ";
	public static final String SQL_ORDER_BY_ORDERNO = "order by ORDERNO";

}
